Skip to content

Comments

chore: update pnpm settings#736

Merged
witoszekdev merged 3 commits intomainfrom
update-pnpm-settings
Jan 23, 2026
Merged

chore: update pnpm settings#736
witoszekdev merged 3 commits intomainfrom
update-pnpm-settings

Conversation

@witoszekdev
Copy link
Member

Summary

  • Update pnpm to version 10.28.1
  • Add pnpm-workspace.yaml security settings:
    • blockExoticSubdeps: true
    • minimumReleaseAge: 1440 (24h)
    • trustPolicy: no-downgrade

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to update pnpm to version 10.28.1 and add security settings to the workspace configuration. However, the changes include additional undocumented modifications to the package name and version.

Changes:

  • Update pnpm from 10.11.0 to 10.28.1 in packageManager field
  • Create pnpm-workspace.yaml with security settings (blockExoticSubdeps, minimumReleaseAge, trustPolicy)
  • Change package name from '@saleor/cli' to 'saleor-cli' and version from '0.0.0' to '1.42.1'

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
pnpm-workspace.yaml Adds new workspace configuration file with security settings
package.json Updates pnpm version, package name, and version number

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1 to +3
blockExoticSubdeps: true
minimumReleaseAge: 1440 # 24h
trustPolicy: no-downgrade
Copy link

Copilot AI Jan 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pnpm-workspace.yaml file is missing the required packages field that defines which packages are part of the workspace. Additionally, the security settings blockExoticSubdeps, minimumReleaseAge, and trustPolicy are pnpm configuration options that belong in .npmrc file, not in pnpm-workspace.yaml. The pnpm-workspace.yaml file should only contain workspace package definitions like packages: ['packages/*'].

Suggested change
blockExoticSubdeps: true
minimumReleaseAge: 1440 # 24h
trustPolicy: no-downgrade
packages:
- "packages/*"

Copilot uses AI. Check for mistakes.
package.json Outdated
Comment on lines 2 to 3
"name": "saleor-cli",
"version": "1.42.1",
Copy link

Copilot AI Jan 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description mentions updating pnpm settings but doesn't mention the package name change from '@saleor/cli' to 'saleor-cli' and version change from '0.0.0' to '1.42.1'. These changes appear unrelated to the pnpm configuration updates and should either be in a separate PR or documented in the PR description. If these changes are intentional and related, the PR description should be updated to explain them.

Suggested change
"name": "saleor-cli",
"version": "1.42.1",
"name": "@saleor/cli",
"version": "0.0.0",

Copilot uses AI. Check for mistakes.
package.json Outdated
"name": "@saleor/cli",
"version": "0.0.0",
"name": "saleor-cli",
"version": "1.42.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is wrong, IIRC it should be 0.0.0 and on release branches version is set

@witoszekdev witoszekdev merged commit c1f545c into main Jan 23, 2026
6 of 7 checks passed
@witoszekdev witoszekdev deleted the update-pnpm-settings branch January 23, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants